// This file was decompiled using VCSCM.ini published on 2021-01-30
{$CLEO .CS}

03A4: script_name 'POLDRV' 

:POLDRV_10
0001: wait 0 ms 
00D6: if 
0256:   player $player_char defined 
004D: jump_if_false @POLDRV_10 
0006: 14@ = 0 // @ = int 

:POLDRV_37
0001: wait 360 ms 
00D6: if 
0038:   $onmission == 0 // $ == int 
004D: jump_if_false @POLDRV_37 
05E0: 5@ = read_memory 10554026 size 4 virtual_protect 0 
00D6: if and
8039:   not  5@ == 2 // @ == int 
8039:   not  5@ == 5 // @ == int 
004D: jump_if_false @POLDRV_37 
05E0: 5@ = read_memory 9930768 size 4 virtual_protect 0 
00D6: if or
00F6:   player $player_char 0 293.6366 -1447.527 11.4633 radius 90.0 90.0 90.0 
00F7:   player $player_char sphere 0 near_point_in_car 293.6366 -1447.527 11.4633 radius 90.0 90.0 90.0 
004D: jump_if_false @POLDRV_37 
00D6: if 
0039:   5@ == 0 // @ == int 
004D: jump_if_false @POLDRV_37 
0247: request_model #LI_MAN2 
0247: request_model #MALE03 
0247: request_model #WMYBE 
0247: request_model #WMYLG 

:POLDRV_232
0001: wait 0 ms 
00D6: if and
0248:   model #LI_MAN2 available 
0248:   model #MALE03 available 
0248:   model #WMYBE available 
0248:   model #WMYLG available 
004D: jump_if_false @POLDRV_232 
038B: load_requested_models 
009A: 1@ = create_actor_pedtype 7 model #LI_MAN2 at 293.6366 -1447.527 10.1 
0223: set_actor 1@ health_to 101 
009A: 2@ = create_actor_pedtype 7 model #MALE03 at 295.8649 -1442.796 10.1 
0223: set_actor 2@ health_to 101 
009A: 3@ = create_actor_pedtype 7 model #WMYBE at 284.2068 -1452.455 10.1 
0223: set_actor 3@ health_to 101 
009A: 4@ = create_actor_pedtype 7 model #WMYLG at 284.1763 -1449.35 10.1 
0223: set_actor 4@ health_to 101 
0001: wait 4 ms 
01B2: give_actor 1@ weapon 112 ammo 1 // Load the weapon model before using this 
01B2: give_actor 2@ weapon 113 ammo 1 // Load the weapon model before using this 
01B2: give_actor 3@ weapon 113 ammo 1 // Load the weapon model before using this 
01B2: give_actor 4@ weapon 113 ammo 1 // Load the weapon model before using this 
0001: wait 400 ms 
0173: set_actor 1@ z_angle_to 260.0 
0173: set_actor 2@ z_angle_to 77.0 
0173: set_actor 3@ z_angle_to 255.0 
0173: set_actor 4@ z_angle_to 255.0 
01B2: give_actor 1@ weapon 116 ammo 1 // Load the weapon model before using this 
01B2: give_actor 2@ weapon 118 ammo 1 // Load the weapon model before using this 
01B2: give_actor 3@ weapon 118 ammo 1 // Load the weapon model before using this 
01B2: give_actor 4@ weapon 117 ammo 1 // Load the weapon model before using this 
04EB: actor 1@ crouch 1 9999999 ms 
0372: set_actor 2@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 3@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 3@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 4@ anim 14 wait_state_time 60000000 ms 

:POLDRV_570
0001: wait 0 ms 
000A: 14@ += 1 // @ += int 
00D6: if 
0039:   14@ == 150 // @ == int 
004D: jump_if_false @POLDRV_648 
04EB: actor 1@ crouch 1 9999999 ms 
0372: set_actor 2@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 3@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 4@ anim 14 wait_state_time 60000000 ms 

:POLDRV_648
00D6: if 
0039:   14@ == 250 // @ == int 
004D: jump_if_false @POLDRV_722 
0372: set_actor 1@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 2@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 3@ anim 14 wait_state_time 60000000 ms 
0372: set_actor 4@ anim 14 wait_state_time 60000000 ms 
0006: 14@ = 0 // @ = int 

:POLDRV_722
00D6: if 
0118:   actor 1@ dead 
004D: jump_if_false @POLDRV_750 
048F: actor 1@ remove_weapons 
0002: jump @POLDRV_760 

:POLDRV_750
0173: set_actor 1@ z_angle_to 260.0 

:POLDRV_760
00D6: if 
0118:   actor 2@ dead 
004D: jump_if_false @POLDRV_781 
048F: actor 2@ remove_weapons 

:POLDRV_781
00D6: if 
0118:   actor 3@ dead 
004D: jump_if_false @POLDRV_802 
048F: actor 3@ remove_weapons 

:POLDRV_802
00D6: if 
0118:   actor 4@ dead 
004D: jump_if_false @POLDRV_823 
048F: actor 4@ remove_weapons 

:POLDRV_823
00D6: if or
00F6:   player $player_char 0 293.6366 -1447.527 11.4633 radius 90.0 90.0 90.0 
00F7:   player $player_char sphere 0 near_point_in_car 293.6366 -1447.527 11.4633 radius 90.0 90.0 90.0 
004D: jump_if_false @POLDRV_915 
0002: jump @POLDRV_570 

:POLDRV_915
009B: destroy_actor_instantly 1@ 
009B: destroy_actor_instantly 2@ 
009B: destroy_actor_instantly 3@ 
009B: destroy_actor_instantly 4@ 
0249: release_model #LI_MAN2 
0249: release_model #MALE03 
0249: release_model #WMYBE 
0249: release_model #WMYLG 
0002: jump @POLDRV_37 
